{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "pycharm": {
     "name": "#%%\n"
    }
   },
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "pycharm": {
     "name": "#%% md\n"
    }
   },
   "source": [
    "python 中深浅拷贝问题\n",
    "= 赋值语句 浅拷贝\n"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "pycharm": {
     "name": "#%% md\n"
    }
   },
   "source": [
    "字符串的格式化: 三种方式\n",
    "f\"\"  %  {}"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "pycharm": {
     "name": "#%% md\n"
    }
   },
   "source": [
    "字典操作\n",
    "get() \n",
    "items() keys() values()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "pycharm": {
     "name": "#%% md\n"
    }
   },
   "source": [
    "字符串操作\n",
    "编码：utf-8 acsill GB-323"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "pycharm": {
     "name": "#%% md\n"
    }
   },
   "source": [
    "函数的传参\n",
    "可变参数, 缺省值, 关键词参数, 指定关键词\n",
    "*arvg    a = **  **dict      *, a"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "pycharm": {
     "name": "#%% md\n"
    }
   },
   "source": [
    "列表生成式 可迭代对象\n",
    "next()\n",
    "迭代器 generator"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "pycharm": {
     "name": "#%% md\n"
    }
   },
   "source": [
    "切片\n",
    "[start:end:step]\n",
    "\n",
    "特殊用法\n",
    "[-1]：末尾元素\n",
    "[:-1]：从倒数第二个元素向前打印\n",
    "[::-1]：倒叙打印"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "pycharm": {
     "name": "#%% md\n"
    }
   },
   "source": [
    "常见函数: \n",
    "`enumerate()`: 生成下标\n",
    "`map(f, lter)`: \n",
    "`reduce(f, lter)`:\n",
    "`filter(f, lter)`:选择函数\n",
    "`sorted(arvg, key=, reserve)`:排序函数\n",
    "`lambda x: f `:匿名函数"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3.9.12 ('base')",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "name": "python",
   "version": "3.9.12"
  },
  "orig_nbformat": 4,
  "vscode": {
   "interpreter": {
    "hash": "6a018d3a992d78c184ccc94ab54168c7b26325ed3c2283926339c3edbf5487e7"
   }
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}